<template>
    <div v-if="modal">
      <Modal
        v-model="modal"
        width="1800"
        title="导入社区工作者工资信息">
       <dispose-excel :columns="columns" :url="url"></dispose-excel>
      </Modal>
    </div>
</template>

<script>
import DisposeExcel from '@/view/xian-page/dispose-excel/dispose-excel'
export default {
  name: 'import-excel',
  components: { DisposeExcel },
  data () {
    return {
      columns: [
        {
          align: 'center',
          title: '姓名',
          key: 'name',
          fixed: 'left'
        },
        {
          align: 'center',
          title: '身份证号',
          width: '160',
          key: 'card_no',
          fixed: 'left'
        },
        {
          align: 'center',
          title: '出勤补贴',
          width: '160',
          key: 'chuqin_money'
        }
      ],
      modal: false,
      url: '/api/ac/worker/wageSettingServiceImpl/updateWageMoney',
      // failedUrl: '/api/as/grid/userGrid/findFailedList'
    }
  },
  methods: {
    // 初始化
    init () {
      this.modal = true
    }
  }
}
</script>

<style scoped>

</style>
